home *** CD-ROM | disk | FTP | other *** search
- On 10-Mar-98, Jonas Thorell wrote: FD-extension
-
- >Okay, now for a (perhaps) really silly question:
-
- >Can anyone assist me in how to use the combo of the fd-extension and
- >identify.library?
-
- No problem....
-
- >The systemcall is:
-
- >identify.library/IdHardware
- identify.library/IdHardware
- > NAME
- > IdHardware - get information about the system, string (V3)
-
- > SYNOPSIS
- > String = IdHardware(Type,TagList)
- > D0.l D0.l A0.l
-
- > STRPTR IdHardware(ULONG, struct TagItem *);
-
- > String = IdHardwareTags(Type,Tag1,...)
-
- > STRPTR IdHardwareTags(ULONG, ULONG,...);
-
- > FUNCTION
- > Gets information about the current system environment. The result
- > is returned as read only string. This function is fully DraCo
- > compatible!
-
- > Once a information has been read, it will be cached internally, so
- > changes will be ignored. Use IdHardwareUpdate() to clear the cache
- > contents.
-
- > INPUTS
- > Type -- (ULONG) Information type. These types are known:
-
- > IDHW_SYSTEM -- What system is used?
- > (e. g. "Amiga 4000")
-
-
- Since this function return a pointer to a string, in Amos is:
-
- A=Lvo Idhardware(0,0) : AMIGA$=Peek$(A,255,chr$(0))
-
- IDHW_SYSTEM=0
- TagList = NULL (0)
-
-
- if you want the CPU type:
-
- A=Lvo Idhardware(1,0) : CPU$=Peek$(A,255,chr$(0))
-
- IDHW_CPU=1
- TagList = NULL (0)
-
- --
-
-
- Bye!
-
-
- !!!
- o o
- +-----------------------------oOO-(_)-OOo----------------------------+
- | |
- | Pietro Ghizzoni - Dairymen Soft __ /// Amiga 12OO |
- | E-Mail: ghizzo@agonet.it \\\/// 'O3O 5OMhz |
- | Team AMIGA \/// 18MB - CD4x |
- | |
- | Amos Professional Team Coordinator AMIGA RULEZ!! |
- | |
- +--------------------------------------------------------------------+
-
-
-